﻿using SaaS.Core;
using SaaS.Model.Entity.Sites;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using XCore.Logger;
using XCore.Extensions;
using XCore.Dependency;
using SaaS.Model.Enums;

namespace Web.Admin
{

    /// <summary>
    /// 日志采集
    /// </summary>
    public class AdminLogger : LoggerBase, IScopedDependency
    {
        public AdminLogger() : base(CoreSetting.DefaultConnectionString, typeof(SiteAdminLog).GetTableName())
        {

        }
        public bool Log(int admin, int targetId, string message)
        {
            return true;
        }
        public bool Log(string message, AdminLoggerSource source)
        {
            return true;
        }
        public bool Log(int adminId, string message, AdminLoggerSource source)
        {
            return true;
        }
    }
}
